﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using QLKDS.DAL;
using QLKDS.Reports;
namespace QLKDS.Forms
{
    public partial class frmImportReport : Form
    {
        public frmImportReport()
        {
            InitializeComponent();
        }
       
       

        private void frmImportReport_Load(object sender, EventArgs e)
        {
            QLKDSDataContext db = new QLKDSDataContext();
            ImportReport rpt = new ImportReport();
            rpt.DataSource = db.Authors;
            rpt.BindData();
            printControl1.PrintingSystem = rpt.PrintingSystem;
            rpt.CreateDocument();
        }

       
       
    }
}
